package com.gamificationlibrary.gamificationlibrary.badge;


public class BadgeFactory {

	
	public static String BADGETYPETASK="BADGETYPETASK";
	public static String BADGESTRAIGHTDAYS="BADGESTRAIGHTDAYS";
	
		public static Badge createBadgeSimple(String Type, BadgeStateLocked stateLocked, BadgeStateUnlocked stateUnlocked, BadgeStateWon stateWon, boolean locked,
				 int numberOf)
		{
			if (Type.equals(BadgeFactory.BADGESTRAIGHTDAYS))
				return new BadgeSimpleStraightDays(stateLocked, stateUnlocked, stateWon,locked, numberOf);
			else if (Type.equals(BadgeFactory.BADGETYPETASK)) 
				return new BadgeSimpleTypeTask(stateLocked, stateUnlocked, stateWon,locked, numberOf);
			return null;	
	}
		
		/*public static Badge createBadgeMilestone(String Type, BadgeStateLocked stateLocked, BadgeStateUnlocked stateUnlocked, BadgeStateWon stateWon, boolean locked,
				 int numberOf)
		{
			if (Type.equals(BadgeFactory.BADGESTRAIGHTDAYS))
				return new BadgeStraightDays(stateLocked, stateUnlocked, stateWon,locked, numberOf);
			else if (Type.equals(BadgeFactory.BADGETYPETASK)) 
				return new BadgeTypeTask(stateLocked, stateUnlocked, stateWon,locked, numberOf);
			return null;	
	}*/
}
